home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 001000_C.P.Jobling@swansea.ac.uk_Sat Sep 24 05:40:02 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  6KB

  1. Received: from mhs.swan.ac.uk ([137.44.1.33]) by cs.umb.edu with SMTP id AA28754
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Sat, 24 Sep 1994 05:40:02 -0400
  3. Received: from cstriton.swan.ac.uk by mhs.swan.ac.uk with SMTP (PP) 
  4.           id <09052-0@mhs.swan.ac.uk>; Fri, 23 Sep 1994 11:56:22 +0100
  5. From: C.P.Jobling@swansea.ac.uk
  6. Date: Fri, 23 Sep 94 11:49:50 BST
  7. Message-Id: <14776.9409231049@cstriton.swan.ac.uk>
  8. To: tex-k@cs.umb.edu
  9. Subject: Initialisation (texc.pro) file reading bug in dvips(k) version 5.58a
  10.  
  11. There appears to be a bug in version 5.58a of dvipsk,
  12.  
  13. The program refuses to find texc.pro even though the file exists
  14. in /usr/local/public/lib/texmf. I have tried running dvips(k) on
  15. the dvips.dvi in dvipsk-5.58a/dvipsk of the src tree and it works and I assume
  16. that it works because in that case texc.pro is in ./
  17.  
  18. When I try the same thing in dvipsk-5.58a/kpathea on kpathsea.dvi
  19. the program fails to find texc.pro. Looking at the 
  20. output from debug (dvips -d-1) it appears either that
  21. dvips(k) looks in ./, doesn't find texc.pro and stops, or,
  22. (if the paths are really searched in reverse order as implied
  23. by the source code) it completely ignores the texc.pro to be found
  24. in /usr/local/public/lib/texmf/dvips before failing to find it in ./
  25.  
  26. To build this I disabled all TEX* environment variables, ran
  27. configure --prefix=/usr/local/public then did a make; make install
  28. from the top level directory. I left texmf.cnf.in unchanged.
  29.  
  30. It seems I can temporarily
  31. work around this by having a copy of texc.pro in my ./
  32. whenever I run dvips.
  33.  
  34. ---------------debug output----
  35. public@cstriton [153] -> dvips -d-1 kpathsea -o
  36. Alloc 25000
  37. kdebug:Search path for .cnf files (from compile-time paths.h)
  38. kdebug:  = .:/usr/local/public/lib/texmf
  39. kdebug:  before expansion = .:/usr/local/public/lib/texmf
  40. kdebug:  font override var applies = 0
  41. kdebug:  application config file path = (none)
  42. kdebug:  texmf.cnf path = (none)
  43. kdebug:  compile-time path = .:/usr/local/public/lib/texmf
  44. kdebug:  suffix = .cnf
  45. kdebug:  search only with suffix = 0
  46. kdebug:  runtime generation program = texmf.cnf
  47. kdebug:  extra program args = (none)
  48. kdebug:search(file=texmf.cnf, must_exist=1, find_all=1, path=.:/usr/local/public/lib/texmf).
  49. kdebug:path element . => ./
  50. kdebug:path element /usr/local/public/lib/texmf => /usr/local/public/lib/texmf/
  51. kdebug:search(texmf.cnf) =>kdebug:hash_lookup(TEXMFLOG) => (null)
  52.  ./texmf.cnf /usr/local/public/lib/texmf/texmf.cnf
  53. kdebug:fopen(./texmf.cnf, r) => 0x51234
  54. kdebug:fclose(0x51234) => 0
  55. kdebug:fopen(/usr/local/public/lib/texmf/texmf.cnf, r) => 0x51234
  56. kdebug:fclose(0x51234) => 0
  57. kdebug:hash_lookup(TEXMF) => /usr/local/public/lib/texmf /usr/local/public/lib/texmf
  58. kdebug:hash_lookup(TEXCONFIG) => .:~:$TEXMF/dvips .:~:$TEXMF/dvips
  59. kdebug:hash_lookup(TEXMF) => /usr/local/public/lib/texmf /usr/local/public/lib/texmf
  60. kdebug:Search path for dvips config files (from texmf.cnf)
  61. kdebug:  = .:/usr/local/public:/usr/local/public/lib/texmf/dvips
  62. kdebug:  before expansion = .:~:$TEXMF/dvips
  63. kdebug:  font override var applies = 0
  64. kdebug:  application config file path = (none)
  65. kdebug:  texmf.cnf path = .:~:$TEXMF/dvips
  66. kdebug:  compile-time path = .:~:/usr/local/public/lib/texmf/dvips
  67. kdebug:  suffix = (none)
  68. kdebug:  search only with suffix = 0
  69. kdebug:  runtime generation program = (none)
  70. kdebug:  extra program args = (none)
  71. kdebug:search(file=config.ps, must_exist=1, find_all=0, path=.:/usr/local/public:/usr/local/public/lib/texmf/dvips).
  72. kdebug:path element /usr/local/public => /usr/local/public/
  73. kdebug:hash_lookup(TEXMF) => /usr/local/public/lib/texmf /usr/local/public/lib/texmf
  74. kdebug:fopen(/usr/local/public/lib/texmf/ls-R, r) => 0x51234
  75. kdebug:fclose(0x51234) => 0
  76. kdebug:hash_lookup(config.ps) => (null)
  77. kdebug:path element /usr/local/public/lib/texmf/dvips => /usr/local/public/lib/texmf/dvips/
  78. kdebug:search(config.ps) => /usr/local/public/lib/texmf/dvips/config.ps
  79. kdebug:fopen(/usr/local/public/lib/texmf/dvips/config.ps, r) => 0x51234
  80. Alloc 20
  81. :
  82. Alloc 20
  83. kdebug:fclose(0x51234) => 0
  84. kdebug:search(file=.dvipsrc, must_exist=1, find_all=0, path=.:/usr/local/public:/usr/local/public/lib/texmf/dvips).
  85. kdebug:hash_lookup(.dvipsrc) => (null)
  86. kdebug:search(.dvipsrc) =>
  87. kdebug:search(file=psfonts.map, must_exist=1, find_all=0, path=.:/usr/local/public:/usr/local/public/lib/texmf/dvips).
  88. kdebug:hash_lookup(psfonts.map) => (null)
  89. kdebug:search(psfonts.map) => /usr/local/public/lib/texmf/dvips/psfonts.map
  90. kdebug:fopen(/usr/local/public/lib/texmf/dvips/psfonts.map, r) => 0x51234
  91. Alloc 28
  92. : (lots of these)
  93. Alloc 28
  94. kdebug:fclose(0x51234) => 0
  95. Alloc 25000
  96. This is dvipsk 5.58a Copyright 1986, 1994 Radical Eye Software
  97. kdebug:fopen(kpathsea.dvi, r) => 0x0
  98. kdebug:fopen(kpathsea, r) => 0x0
  99. input file kpathsea output file kpathsea.ps swmem 3500000
  100. Alloc 20
  101. kdebug:Search path for dvips header/type1 font files (from texmf.cnf)
  102. kdebug:  = 
  103. kdebug:  before expansion = 
  104. kdebug:  font override var applies = 0
  105. kdebug:  application config file path = (none)
  106. kdebug:  texmf.cnf path = 
  107. kdebug:  compile-time path = .:/usr/local/public/lib/texmf/dvips:/usr/local/public/lib/texmf/fonts//type1
  108. kdebug:  suffix = (none)
  109. kdebug:  search only with suffix = 0
  110. kdebug:  runtime generation program = (none)
  111. kdebug:  extra program args = (none)
  112. kdebug:search(file=texc.pro, must_exist=1, find_all=0, path=).
  113. kdebug:path element  => ./
  114. kdebug:search(texc.pro) =>
  115. dvips: ! Couldn't find header file texc.pro
  116. Segmentation fault
  117. public@cstriton [154] ->
  118. ----------
  119.  
  120. The empty path in the search(file=texc.pro, ... call looks suspicious!
  121.  
  122. Chris
  123. --
  124. \     Chris Jobling, Department of Electrical and Electronic Engineering,      /
  125.  \      University College, Swansea, Singleton Park, Swansea SA2 8PP, UK      / 
  126.   \                   email: C.P.Jobling@Swansea.ac.uk                       / 
  127.    \      WWW Home Page: http://faith.swan.ac.uk/chris.html/cpjhome.html    /
  128.     \------------Phone: +44-792-295580 Fax: +44-792-295686-----------------/